package cn.jiahua.hospital.mapper;

import cn.jiahua.hospital.dto.PatientsByOrderDto;
import cn.jiahua.hospital.pojo.Report;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface ReportMapper {


    public Report getReportById(@Param(value = "id") Integer id);

    public List<Report> getReportListByMap(Map<String, Object> param);

    public Integer getReportCountByMap(Map<String, Object> param);

    public Integer insertReport(Report report);

    public Integer updateReport(Report report);

    public Integer deleteReportById(@Param(value = "id") Integer id);

    public Integer batchDeleteReport(Map<String, List<String>> params);

    public PatientsByOrderDto getReportByOrder(String OrderId);
}
